package com.cangshukj.junong.domain;

import com.cangshukj.common.annotation.Excel;
import com.cangshukj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 图片附件对象 land_pics
 * 
 * @author wangjie
 * @date 2025-04-01
 */
public class LandPics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 图片ID */
    private String id;

    /** 所属表名 */
    @Excel(name = "所属表名")
    private String tablename;

    /** 所属字段名（附件类型） */
    @Excel(name = "所属字段名", readConverterExp = "附=件类型")
    private String fieldname;

    /** 数据ID */
    @Excel(name = "数据ID")
    private String dataid;

    /** 文件名 */
    @Excel(name = "文件名")
    private String fileName;

    /** 文件路径 */
    @Excel(name = "文件路径")
    private String filePath;

    /** 大小（字节） */
    @Excel(name = "大小", readConverterExp = "字=节")
    private Integer fileSize;

    /** 扩展名（文件类型） */
    @Excel(name = "扩展名", readConverterExp = "文=件类型")
    private String fileExt;

    private String title;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTablename(String tablename) 
    {
        this.tablename = tablename;
    }

    public String getTablename() 
    {
        return tablename;
    }
    public void setFieldname(String fieldname) 
    {
        this.fieldname = fieldname;
    }

    public String getFieldname() 
    {
        return fieldname;
    }
    public void setDataid(String dataid) 
    {
        this.dataid = dataid;
    }

    public String getDataid() 
    {
        return dataid;
    }
    public void setFileName(String fileName) 
    {
        this.fileName = fileName;
    }

    public String getFileName() 
    {
        return fileName;
    }
    public void setFilePath(String filePath) 
    {
        this.filePath = filePath;
    }

    public String getFilePath() 
    {
        return filePath;
    }
    public void setFileSize(Integer fileSize) 
    {
        this.fileSize = fileSize;
    }

    public Integer getFileSize() 
    {
        return fileSize;
    }
    public void setFileExt(String fileExt) 
    {
        this.fileExt = fileExt;
    }

    public String getFileExt() 
    {
        return fileExt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tablename", getTablename())
            .append("fieldname", getFieldname())
            .append("dataid", getDataid())
            .append("fileName", getFileName())
            .append("filePath", getFilePath())
            .append("fileSize", getFileSize())
            .append("fileExt", getFileExt())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .toString();
    }
}
